package org.yudidi.enableconfig;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.yudidi.properties.FooProperties;

/**
 * 使用@EnableConfigurationProperties注册属性配置类,读取配置文件,并存放至属性配置类的实例bean中 */
@Configuration
@EnableConfigurationProperties({FooProperties.class})  //@EnableConfigurationProperties会自动应用,本行可以注释.比如: BarProperties.class
public class TestPropertiesConfiguration {

}
